<template>
	<view class="culture-frame">

		<view class="culture-item" v-for="(item, index) in 3" :key="index">
			<view class="culture-item-left">
				<view class="title zi-hide-2">
					何为玉文化？对中国玉文化的内涵探析，古人为何偏爱玉？...
				</view>
				<view class="">
					<uv-rate :count="1" :value="index + 1" inactiveColor="#daa03d" activeColor="#daa03d"></uv-rate>
				</view>
				<view class="tip">
					<image class="tip-image" src="/static/icon/icon_time.png" mode=""></image>
					<view class="tip-text">文化传承</view>|<view class="tip-text">2234人已阅读</view>
				</view>
			</view>
			<image src="/static/test/test_1.png" class="culture-item-right" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		onLoad() {

		},
		methods: {
			heartFn(data) {
				console.log(data)
				data.isHeart = !data.isHeart
			}
		}
	}
</script>

<style lang="scss" scoped>
	.culture-frame {
		padding: 30rpx;
		background-color: #fff;
		font-size: 13px;

		.culture-item {
			display: flex;
			justify-content: space-between;
			padding: 30rpx 0;
			border-bottom: 1px solid #eee;

			.culture-item-left {
				width: calc(100% - 166rpx - 30rpx);
				height: 166rpx;
				display: flex;
				flex-direction: column;
				justify-content: space-between;

				.title {
					font-size: $title;
				}

				.tip {
					font-size: 13px;
					display: flex;
					align-items: center;

					.tip-image {
						width: 13px;
						height: 13px;
					}

					.tip-text {
						color: #76d0cc;
						padding: 0 5px;
					}
				}
			}

			.culture-item-right {
				width: 166rpx;
				height: 166rpx;
			}
		}

		.culture-item:last-child {
			border: none;
		}
	}
</style>